
using System;using ERP_RORZE_SYSTEM;

namespace ERP_RORZE_DLL.Product.database
{
    [Serializable]
	public class QMaterial 
	{
			#region Members
			protected int recordNo;
			protected string quotationID;
			protected string mPartNo;
			protected string materialID;
			protected string materialType;
			protected decimal materialPrice;
			protected string shape;
			protected double thickness;
			protected double length;
			protected double width;
			protected decimal price;
			protected string note;
			#endregion
			#region Public Properties

			/// <summary>
			/// Property relating to database column RecordNo(int,not null)
			/// </summary>
			public int RecordNo
			{
				get { return recordNo; }
				set { recordNo = value; }
			}

			/// <summary>
			/// Property relating to database column QuotationID(nvarchar(13),not null)
			/// </summary>
			public string QuotationID
			{
				get { return quotationID; }
				set { quotationID = value; }
			}

			/// <summary>
			/// Property relating to database column MPartNo(nvarchar(20),not null)
			/// </summary>
			public string MPartNo
			{
				get { return mPartNo; }
				set { mPartNo = value; }
			}

			/// <summary>
			/// Property relating to database column MaterialID(nvarchar(10),not null)
			/// </summary>
			public string MaterialID
			{
				get { return materialID; }
				set { materialID = value; }
			}

			/// <summary>
			/// Property relating to database column MaterialType(nvarchar(30),null)
			/// </summary>
			public string MaterialType
			{
				get { return materialType; }
				set { materialType = value; }
			}

			/// <summary>
			/// Property relating to database column MaterialPrice(money,null)
			/// </summary>
			public decimal MaterialPrice
			{
				get { return materialPrice; }
				set { materialPrice = value; }
			}

			/// <summary>
			/// Property relating to database column Shape(nvarchar(6),not null)
			/// </summary>
			public string Shape
			{
				get { return shape; }
				set { shape = value; }
			}

			/// <summary>
			/// Property relating to database column Thickness(float,not null)
			/// </summary>
			public double Thickness
			{
				get { return thickness; }
				set { thickness = value; }
			}

			/// <summary>
			/// Property relating to database column Length(float,not null)
			/// </summary>
			public double Length
			{
				get { return length; }
				set { length = value; }
			}

			/// <summary>
			/// Property relating to database column Width(float,null)
			/// </summary>
			public double Width
			{
				get { return width; }
				set { width = value; }
			}

			/// <summary>
			/// Property relating to database column Price(money,null)
			/// </summary>
			public decimal Price
			{
				get { return price; }
				set { price = value; }
			}

			/// <summary>
			/// Property relating to database column Note(ntext,null)
			/// </summary>
			public string Note
			{
				get { return note; }
				set { note = value; }
			}
			#endregion
	}
}
